package cn.itcast.dao;

import cn.itcast.pojo.Order;

import java.util.List;
import java.util.Map;

/*
 *Author:TH
 *Dete:2019/10/2716:53
 */
public interface OrderDao {

    //新增预约
    public void add(Order order);
    public List<Order> findByCondition(Order order);
    public Map findById4Detail(Integer id);
    public Integer findOrderCountByDate(String date);
    public Integer findOrderCountAfterDate(String date);
    public Integer findVisitsCountByDate(String date);
    public Integer findVisitsCountAfterDate(String date);
    public List<Map> findHotSetmeal();
}
